//目前积累跑步距离
.distance{
    box-sizing:border-box;
    padding:10px 0 0 10px;
    width: 100%;
    height: 80px;
    border-bottom:1px solid #e1e1e1;
    p:first-child{
        font-size:14px;
    }
    p:last-child{
        span{
            font-size:35px;
            font-weight: bold;
            color: #4998ff;
        }
    }
}

// 主体
main{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    height: 1px;

    //上边运动类型
   .type{
        padding: 25px;
        display: flex;
        justify-content: space-around;
        width: 100%;

            a{
                padding:5px 15px;
                color:#fff;
                font-size:12px;
                background-color:#9cbce2;
                border-radius:20px;

                &.on{
                    background-color:#4294ff;
                }
            }
        }

    // 中间GO
    .go{
        position: absolute;
        width: 150px;
        height: 150px;
        margin-top: 50%;
        margin-left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        background-color: rgba(66, 148, 255, 0.5);
        border-radius: 50%;
        strong{
            line-height: 150px;
            font-size:70px;
            color: #1f96d0;
        }
    }

    // 下边设置
    .set{
        padding: 25px;
        position: absolute;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        width: 100%;

        // 设置图标
        >a:first-child{
            padding: 10px;
            border-radius: 20px;
            background-color: #fff;
            box-shadow:1px 1px 1px 1px #909090;
        }

        // 设置目标
        >a:nth-child(2){
            display: block;
            padding: 8px 10px;
            background-color: #4998ff;
            border-radius: 20px;
            color: #fff;
            font-size: 12px;
        }

        // 音乐图标
        >a:last-child{
            padding: 10px;
            border-radius: 20px;
            background-color: #fff;
            box-shadow:1px 1px 1px 1px #909090;
        }
    }

    // 地图
    #container{
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
    }
    // 地图默认的将logo去除
    .amap-copyright, .amap-logo{
        display: none !important;
    }
}

//跑步路线
.path{
    box-sizing:border-box;
    padding: 10px 0 0 10px;
    width: 100%;
    height: 70px;
    border-top: 1px solid #ddd;
    >p:last-child{
        margin-top:10px;
        font-size:12px;
        color:#909090;
    }
}